<?php


namespace App\Services\shop;


use App\Models\banner\BannerCate;
use App\Models\shop\Shop;

class ShopService
{
    public function getCate():array
    {
        return array_pluck(Shop::select('id','name')->get()->toArray(), 'name','id');
    }
}